package com.zcxy360.sandtable.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class StudentUnitExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentUnitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCourseIdIsNull() {
            addCriterion("student_unit.course_id is null");
            return (Criteria) this;
        }

        public Criteria andCourseIdIsNotNull() {
            addCriterion("student_unit.course_id is not null");
            return (Criteria) this;
        }

        public Criteria andCourseIdEqualTo(Integer value) {
            addCriterion("student_unit.course_id =", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotEqualTo(Integer value) {
            addCriterion("student_unit.course_id <>", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdGreaterThan(Integer value) {
            addCriterion("student_unit.course_id >", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_unit.course_id >=", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdLessThan(Integer value) {
            addCriterion("student_unit.course_id <", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdLessThanOrEqualTo(Integer value) {
            addCriterion("student_unit.course_id <=", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdIn(List<Integer> values) {
            addCriterion("student_unit.course_id in", values, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotIn(List<Integer> values) {
            addCriterion("student_unit.course_id not in", values, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.course_id between", value1, value2, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.course_id not between", value1, value2, "courseId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("student_unit.user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("student_unit.user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("student_unit.user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("student_unit.user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("student_unit.user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_unit.user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("student_unit.user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("student_unit.user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("student_unit.user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("student_unit.user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUnitIdIsNull() {
            addCriterion("student_unit.unit_id is null");
            return (Criteria) this;
        }

        public Criteria andUnitIdIsNotNull() {
            addCriterion("student_unit.unit_id is not null");
            return (Criteria) this;
        }

        public Criteria andUnitIdEqualTo(Integer value) {
            addCriterion("student_unit.unit_id =", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdNotEqualTo(Integer value) {
            addCriterion("student_unit.unit_id <>", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdGreaterThan(Integer value) {
            addCriterion("student_unit.unit_id >", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_unit.unit_id >=", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdLessThan(Integer value) {
            addCriterion("student_unit.unit_id <", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdLessThanOrEqualTo(Integer value) {
            addCriterion("student_unit.unit_id <=", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdIn(List<Integer> values) {
            addCriterion("student_unit.unit_id in", values, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdNotIn(List<Integer> values) {
            addCriterion("student_unit.unit_id not in", values, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.unit_id between", value1, value2, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdNotBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.unit_id not between", value1, value2, "unitId");
            return (Criteria) this;
        }

        public Criteria andIsOpenIsNull() {
            addCriterion("student_unit.is_open is null");
            return (Criteria) this;
        }

        public Criteria andIsOpenIsNotNull() {
            addCriterion("student_unit.is_open is not null");
            return (Criteria) this;
        }

        public Criteria andIsOpenEqualTo(Boolean value) {
            addCriterion("student_unit.is_open =", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenNotEqualTo(Boolean value) {
            addCriterion("student_unit.is_open <>", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenGreaterThan(Boolean value) {
            addCriterion("student_unit.is_open >", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenGreaterThanOrEqualTo(Boolean value) {
            addCriterion("student_unit.is_open >=", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenLessThan(Boolean value) {
            addCriterion("student_unit.is_open <", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenLessThanOrEqualTo(Boolean value) {
            addCriterion("student_unit.is_open <=", value, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenIn(List<Boolean> values) {
            addCriterion("student_unit.is_open in", values, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenNotIn(List<Boolean> values) {
            addCriterion("student_unit.is_open not in", values, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenBetween(Boolean value1, Boolean value2) {
            addCriterion("student_unit.is_open between", value1, value2, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsOpenNotBetween(Boolean value1, Boolean value2) {
            addCriterion("student_unit.is_open not between", value1, value2, "isOpen");
            return (Criteria) this;
        }

        public Criteria andIsCommittedIsNull() {
            addCriterion("student_unit.is_committed is null");
            return (Criteria) this;
        }

        public Criteria andIsCommittedIsNotNull() {
            addCriterion("student_unit.is_committed is not null");
            return (Criteria) this;
        }

        public Criteria andIsCommittedEqualTo(Boolean value) {
            addCriterion("student_unit.is_committed =", value, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedNotEqualTo(Boolean value) {
            addCriterion("student_unit.is_committed <>", value, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedGreaterThan(Boolean value) {
            addCriterion("student_unit.is_committed >", value, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("student_unit.is_committed >=", value, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedLessThan(Boolean value) {
            addCriterion("student_unit.is_committed <", value, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedLessThanOrEqualTo(Boolean value) {
            addCriterion("student_unit.is_committed <=", value, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedIn(List<Boolean> values) {
            addCriterion("student_unit.is_committed in", values, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedNotIn(List<Boolean> values) {
            addCriterion("student_unit.is_committed not in", values, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedBetween(Boolean value1, Boolean value2) {
            addCriterion("student_unit.is_committed between", value1, value2, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsCommittedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("student_unit.is_committed not between", value1, value2, "isCommitted");
            return (Criteria) this;
        }

        public Criteria andIsPublishedIsNull() {
            addCriterion("student_unit.is_published is null");
            return (Criteria) this;
        }

        public Criteria andIsPublishedIsNotNull() {
            addCriterion("student_unit.is_published is not null");
            return (Criteria) this;
        }

        public Criteria andIsPublishedEqualTo(Boolean value) {
            addCriterion("student_unit.is_published =", value, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedNotEqualTo(Boolean value) {
            addCriterion("student_unit.is_published <>", value, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedGreaterThan(Boolean value) {
            addCriterion("student_unit.is_published >", value, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("student_unit.is_published >=", value, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedLessThan(Boolean value) {
            addCriterion("student_unit.is_published <", value, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedLessThanOrEqualTo(Boolean value) {
            addCriterion("student_unit.is_published <=", value, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedIn(List<Boolean> values) {
            addCriterion("student_unit.is_published in", values, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedNotIn(List<Boolean> values) {
            addCriterion("student_unit.is_published not in", values, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedBetween(Boolean value1, Boolean value2) {
            addCriterion("student_unit.is_published between", value1, value2, "isPublished");
            return (Criteria) this;
        }

        public Criteria andIsPublishedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("student_unit.is_published not between", value1, value2, "isPublished");
            return (Criteria) this;
        }

        public Criteria andCommitTimeIsNull() {
            addCriterion("student_unit.commit_time is null");
            return (Criteria) this;
        }

        public Criteria andCommitTimeIsNotNull() {
            addCriterion("student_unit.commit_time is not null");
            return (Criteria) this;
        }

        public Criteria andCommitTimeEqualTo(Date value) {
            addCriterion("student_unit.commit_time =", value, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeNotEqualTo(Date value) {
            addCriterion("student_unit.commit_time <>", value, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeGreaterThan(Date value) {
            addCriterion("student_unit.commit_time >", value, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("student_unit.commit_time >=", value, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeLessThan(Date value) {
            addCriterion("student_unit.commit_time <", value, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeLessThanOrEqualTo(Date value) {
            addCriterion("student_unit.commit_time <=", value, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeIn(List<Date> values) {
            addCriterion("student_unit.commit_time in", values, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeNotIn(List<Date> values) {
            addCriterion("student_unit.commit_time not in", values, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeBetween(Date value1, Date value2) {
            addCriterion("student_unit.commit_time between", value1, value2, "commitTime");
            return (Criteria) this;
        }

        public Criteria andCommitTimeNotBetween(Date value1, Date value2) {
            addCriterion("student_unit.commit_time not between", value1, value2, "commitTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNull() {
            addCriterion("student_unit.publish_time is null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNotNull() {
            addCriterion("student_unit.publish_time is not null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeEqualTo(Date value) {
            addCriterion("student_unit.publish_time =", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotEqualTo(Date value) {
            addCriterion("student_unit.publish_time <>", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThan(Date value) {
            addCriterion("student_unit.publish_time >", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("student_unit.publish_time >=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThan(Date value) {
            addCriterion("student_unit.publish_time <", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThanOrEqualTo(Date value) {
            addCriterion("student_unit.publish_time <=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIn(List<Date> values) {
            addCriterion("student_unit.publish_time in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotIn(List<Date> values) {
            addCriterion("student_unit.publish_time not in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeBetween(Date value1, Date value2) {
            addCriterion("student_unit.publish_time between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotBetween(Date value1, Date value2) {
            addCriterion("student_unit.publish_time not between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andUnitScoreIsNull() {
            addCriterion("student_unit.unit_score is null");
            return (Criteria) this;
        }

        public Criteria andUnitScoreIsNotNull() {
            addCriterion("student_unit.unit_score is not null");
            return (Criteria) this;
        }

        public Criteria andUnitScoreEqualTo(Integer value) {
            addCriterion("student_unit.unit_score =", value, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreNotEqualTo(Integer value) {
            addCriterion("student_unit.unit_score <>", value, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreGreaterThan(Integer value) {
            addCriterion("student_unit.unit_score >", value, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_unit.unit_score >=", value, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreLessThan(Integer value) {
            addCriterion("student_unit.unit_score <", value, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreLessThanOrEqualTo(Integer value) {
            addCriterion("student_unit.unit_score <=", value, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreIn(List<Integer> values) {
            addCriterion("student_unit.unit_score in", values, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreNotIn(List<Integer> values) {
            addCriterion("student_unit.unit_score not in", values, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.unit_score between", value1, value2, "unitScore");
            return (Criteria) this;
        }

        public Criteria andUnitScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("student_unit.unit_score not between", value1, value2, "unitScore");
            return (Criteria) this;
        }

        public Criteria andCompletionIsNull() {
            addCriterion("student_unit.completion is null");
            return (Criteria) this;
        }

        public Criteria andCompletionIsNotNull() {
            addCriterion("student_unit.completion is not null");
            return (Criteria) this;
        }

        public Criteria andCompletionEqualTo(Double value) {
            addCriterion("student_unit.completion =", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionNotEqualTo(Double value) {
            addCriterion("student_unit.completion <>", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionGreaterThan(Double value) {
            addCriterion("student_unit.completion >", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionGreaterThanOrEqualTo(Double value) {
            addCriterion("student_unit.completion >=", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionLessThan(Double value) {
            addCriterion("student_unit.completion <", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionLessThanOrEqualTo(Double value) {
            addCriterion("student_unit.completion <=", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionIn(List<Double> values) {
            addCriterion("student_unit.completion in", values, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionNotIn(List<Double> values) {
            addCriterion("student_unit.completion not in", values, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionBetween(Double value1, Double value2) {
            addCriterion("student_unit.completion between", value1, value2, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionNotBetween(Double value1, Double value2) {
            addCriterion("student_unit.completion not between", value1, value2, "completion");
            return (Criteria) this;
        }

        public Criteria andScaleIsNull() {
            addCriterion("student_unit.scale is null");
            return (Criteria) this;
        }

        public Criteria andScaleIsNotNull() {
            addCriterion("student_unit.scale is not null");
            return (Criteria) this;
        }

        public Criteria andScaleEqualTo(Double value) {
            addCriterion("student_unit.scale =", value, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleNotEqualTo(Double value) {
            addCriterion("student_unit.scale <>", value, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleGreaterThan(Double value) {
            addCriterion("student_unit.scale >", value, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleGreaterThanOrEqualTo(Double value) {
            addCriterion("student_unit.scale >=", value, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleLessThan(Double value) {
            addCriterion("student_unit.scale <", value, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleLessThanOrEqualTo(Double value) {
            addCriterion("student_unit.scale <=", value, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleIn(List<Double> values) {
            addCriterion("student_unit.scale in", values, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleNotIn(List<Double> values) {
            addCriterion("student_unit.scale not in", values, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleBetween(Double value1, Double value2) {
            addCriterion("student_unit.scale between", value1, value2, "scale");
            return (Criteria) this;
        }

        public Criteria andScaleNotBetween(Double value1, Double value2) {
            addCriterion("student_unit.scale not between", value1, value2, "scale");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}